package com.project.system.Service.serviceImpl;

import com.project.system.Service.UserService;
import com.project.system.beans.User;
import com.project.system.daos.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "UserService")
public class UserServiceImpl implements UserService {
    @Autowired
    UserDao userDao;
    @Override
    public int addUser(User user) {
        return userDao.addUser(user);
    }
}
